home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / SDKs / ScreenLight™ 1.0.1 / CodeExamples / ModuleRoutines.h < prev   
Encoding:
Text File  |  1996-01-05  |  1.1 KB  |  41 lines  |  [TEXT/CWIE]

  1. // ModuleRoutines.h
  2.  
  3.  
  4.  
  5. //*********************************************************************************
  6. //                                                                                 
  7.  
  8. #include <Traps.h>
  9. #include <Memory.h>
  10. #include <Quickdraw.h>
  11. #include <Fonts.h>
  12. #include <Events.h>
  13. #include <GestaltEqu.h>
  14. #include <Processes.h>
  15. #include <Resources.h>
  16. #include <Windows.h>
  17. #include <Desk.h>
  18. #include <QDOffscreen.h>
  19.  
  20. #include "ModuleAPI.h"
  21.  
  22.  
  23.  
  24. //*********************************************************************************
  25. //                                                                               
  26.  
  27.  
  28. OSErr InitmProcs( ModuleParamBlkPtr mpPtr);
  29. OSErr CheckRequiredFeatures(void);
  30. Boolean    hasPowerPCArch(void);
  31. void GetLargestRect( Rect *r);
  32. Boolean IsColorPort( GrafPtr tPort);
  33. short GetPortPixDepth( GrafPtr tPort);
  34.  
  35. OSErr CalcHSBtoRGB( long hue, long sat, long bright, RGBColor *dstRGB);
  36. short IRandom(short min,short max);
  37.  
  38.  
  39.  
  40. //**********************************************************************************
  41. //                                                      E N D   O F   L I S T I N G